from django.conf.urls import url,include
from django.contrib import admin
from .views import *


urlpatterns = [
    url(r"^qq/authorization/$",GetUrl.as_view()),
    # 获取qq登陆路径路由
    url(r"^oauth_callback/$",QQLogin.as_view()),
    # qq登陆视图
    url(r"^sina/authorization/$",GetSinaUrl.as_view()),
    url(r"^oauth_sina_callback/$",SinaLogin.as_view()),

]
